package com.wchat.repository;

import com.wchat.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

/**
 * Created by yangtianrui on 17/8/9.
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo,String>{
    /**
     * 根据商品状态来查询对象的商品信息
     * @param producStatus
     * @return
     */
     List<ProductInfo> findByProductStatus(Integer producStatus);

     //ProductInfo save(ProductInfo productInfo);



}
